import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'
import VueAxios from 'vue-axios'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import VueI18n from "vue-i18n"
Vue.use(VueI18n)
Vue.use(ElementUI)
Vue.use(VueAxios, axios)

Vue.config.productionTip = false

const i18n =new VueI18n({
  locale:'zh',
  messages:{
    'zh':require('./lang/zh'),
    'en':require('./lang/en')
  }
});

new Vue({
  i18n,
  router,
  store,
  render: h => h(App)
}).$mount('#app')
